package com.pn.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReturnGoods {
    private Integer returnId;//退货id
    private String documentNumber;//单据编号
    private Integer productId;//商品信息
    private Integer returnQuantity;//数量
    private Double returnAmount;//金额
    private Integer storeId;//仓库id
    private Integer userId;//操作员id

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date returnDate;//单据日期

    private String returnNotes;//备注

    private Integer isReturn;//是否确认退货
    private Integer isDelete;//是否删除状态,0未删除,1删除

    //额外添加
    private String productName;
    private String userCode;
    private String storeName;
    private String startTime;//起始时间
    private String endTime;//结束时间
    private Integer pageSize;
    private Integer pageNum;
}
